#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include "dynamic_arr_stack.h"

/**********************************************************************
 *                          COMMENT                                   *
 **********************************************************************/

int main(void) {
	Stack* s = stack_create();

	for (size_t i = 0; i < 1000; i++){
		stack_push(s, i);
	}

	while (!is_empty(s)) {
		E ele = stack_peek(s);
		printf("%d ", ele);
		stack_pop(s);
	}
	printf("\n");

	stack_destroy(s);
	return 0;
}